﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020003AF RID: 943
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DelMailScRsp : IMessage<DelMailScRsp>, IMessage, IEquatable<DelMailScRsp>, IDeepCloneable<DelMailScRsp>, IBufferMessage
	{
		// Token: 0x17000C17 RID: 3095
		// (get) Token: 0x06002A2D RID: 10797 RVA: 0x00074894 File Offset: 0x00072A94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DelMailScRsp> Parser
		{
			get
			{
				return DelMailScRsp._parser;
			}
		}

		// Token: 0x17000C18 RID: 3096
		// (get) Token: 0x06002A2E RID: 10798 RVA: 0x0007489B File Offset: 0x00072A9B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DelMailScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000C19 RID: 3097
		// (get) Token: 0x06002A2F RID: 10799 RVA: 0x000748AD File Offset: 0x00072AAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DelMailScRsp.Descriptor;
			}
		}

		// Token: 0x06002A30 RID: 10800 RVA: 0x000748B4 File Offset: 0x00072AB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DelMailScRsp()
		{
		}

		// Token: 0x06002A31 RID: 10801 RVA: 0x000748C7 File Offset: 0x00072AC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DelMailScRsp(DelMailScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.idList_ = other.idList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002A32 RID: 10802 RVA: 0x000748FD File Offset: 0x00072AFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DelMailScRsp Clone()
		{
			return new DelMailScRsp(this);
		}

		// Token: 0x17000C1A RID: 3098
		// (get) Token: 0x06002A33 RID: 10803 RVA: 0x00074905 File Offset: 0x00072B05
		// (set) Token: 0x06002A34 RID: 10804 RVA: 0x0007490D File Offset: 0x00072B0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000C1B RID: 3099
		// (get) Token: 0x06002A35 RID: 10805 RVA: 0x00074916 File Offset: 0x00072B16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> IdList
		{
			get
			{
				return this.idList_;
			}
		}

		// Token: 0x06002A36 RID: 10806 RVA: 0x0007491E File Offset: 0x00072B1E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DelMailScRsp);
		}

		// Token: 0x06002A37 RID: 10807 RVA: 0x0007492C File Offset: 0x00072B2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DelMailScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.idList_.Equals(other.idList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002A38 RID: 10808 RVA: 0x0007497C File Offset: 0x00072B7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.idList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002A39 RID: 10809 RVA: 0x000749C9 File Offset: 0x00072BC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002A3A RID: 10810 RVA: 0x000749D1 File Offset: 0x00072BD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002A3B RID: 10811 RVA: 0x000749DC File Offset: 0x00072BDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.idList_.WriteTo(ref output, DelMailScRsp._repeated_idList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002A3C RID: 10812 RVA: 0x00074A2C File Offset: 0x00072C2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.idList_.CalculateSize(DelMailScRsp._repeated_idList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002A3D RID: 10813 RVA: 0x00074A80 File Offset: 0x00072C80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DelMailScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.idList_.Add(other.idList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002A3E RID: 10814 RVA: 0x00074ACD File Offset: 0x00072CCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002A3F RID: 10815 RVA: 0x00074AD8 File Offset: 0x00072CD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U && num != 26U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.idList_.AddEntriesFrom(ref input, DelMailScRsp._repeated_idList_codec);
				}
			}
		}

		// Token: 0x040010AC RID: 4268
		private static readonly MessageParser<DelMailScRsp> _parser = new MessageParser<DelMailScRsp>(() => new DelMailScRsp());

		// Token: 0x040010AD RID: 4269
		private UnknownFieldSet _unknownFields;

		// Token: 0x040010AE RID: 4270
		public const int RetcodeFieldNumber = 9;

		// Token: 0x040010AF RID: 4271
		private uint retcode_;

		// Token: 0x040010B0 RID: 4272
		public const int IdListFieldNumber = 3;

		// Token: 0x040010B1 RID: 4273
		private static readonly FieldCodec<uint> _repeated_idList_codec = FieldCodec.ForUInt32(26U);

		// Token: 0x040010B2 RID: 4274
		private readonly RepeatedField<uint> idList_ = new RepeatedField<uint>();
	}
}
